package com.farben.system.mapper;

import java.util.List;
import com.farben.system.domain.AgingDesignConfigInfo;
import com.farben.system.domain.vo.GroupVo;

/**
 * 适老化Mapper接口
 * 
 * @author farben
 * @date 2023-05-16
 */
public interface AgingDesignConfigInfoMapper
{
    /**
     * 查询适老化
     * 
     * @param id 适老化ID
     * @return 适老化
     */
    public AgingDesignConfigInfo selectAgingDesignConfigInfoById(Long id);
    /**
     * 通过appId和fileName查询适老化
     *
     * @param  agingDesignConfigInfo
     * @return 适老化
     */
    public AgingDesignConfigInfo selectAgingDesignConfigInfoByAppIdAndFileName(AgingDesignConfigInfo agingDesignConfigInfo);
    /**
     * 查询适老化列表
     * 
     * @param agingDesignConfigInfo 适老化
     * @return 适老化集合
     */
    public List<AgingDesignConfigInfo> selectAgingDesignConfigInfoList(AgingDesignConfigInfo agingDesignConfigInfo);

    /**
     * 新增适老化
     * 
     * @param agingDesignConfigInfo 适老化
     * @return 结果
     */
    public int insertAgingDesignConfigInfo(AgingDesignConfigInfo agingDesignConfigInfo);

    /**
     * 修改适老化
     * 
     * @param agingDesignConfigInfo 适老化
     * @return 结果
     */
    public int updateAgingDesignConfigInfo(AgingDesignConfigInfo agingDesignConfigInfo);

    /**
     * 删除适老化
     * 
     * @param id 适老化ID
     * @return 结果
     */
    public int deleteAgingDesignConfigInfoById(Long id);

    /**
     * 批量删除适老化
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAgingDesignConfigInfoByIds(Long[] ids);

    /**
     * 查询数量
     *
     * @param agingDesignConfigInfo 适老化
     * @return 结果
     */
    public Long queryCounts(AgingDesignConfigInfo agingDesignConfigInfo);


    /**
     * 查询分组
     *
     * @param agingDesignConfigInfo 适老化
     * @return 结果
     */
    public List<GroupVo> queryGroups(AgingDesignConfigInfo agingDesignConfigInfo);
}
